Class: com.microstrategy.web.app.taglibs.BaseTag
Usage:
This tag allows users to include different resources like images, javascript and css style files in the HTML output of a JSP based on the resource type.resourcesFolderImage
: The base location of the images to be used in the application
resourcesFolderJavaScript
: The base location of the javascript files to be used in the application
resourcesFolderCustom
: The base location of the customizations folders
resourcesFolderStyleFixedFont
: The base location of the css files to be used in the application, when the size of the
font to be presented to the user is fixed
resourcesFolderStyle
: The base location of the css files to be used in the application
resourcesFolderStyleDB
: The base location of the css files to be used in the application, when the environment is double byte
resourcesFolderStyleFixedFontDB
: The base location of the css files to be used in the application, when the environment is
double byte and the size of the font to be presented to the user is fixed<web:resource type="javascript" name="DHTML.js" runat="server"/>This will gather the resource folder information corresponding to
resourcesFolderJavaScript
and use it to generate
a <script> tag to includes the DHTML.js file. The output generated by the tag for
the previous example will be:
<script language="javascript" src="../javascript/DHTML.js"><!-- --></script>The following table resumes the output generetad by the tag based on the type attribute.
Type | Init Parameter | Output |
---|---|---|
javascript | resourcesFolderJavaScript | <script src="../javascript/custom.js" language="javascript" </script> |
style | resourceFolderStyle | <link href="../style/cssFile.css" rel="stylesheet" type="text/css" /> |
image | resourcesFolderImage | <img src="../images/1ptrans.gif" name="arrow" id="arrow" /> |
jsp | resourcesFolderJSP | <iframe href="../jsp/blah.jsp" name="blah.jsp" id="blah.jsp" ></iframe> |
section | none | The name of the section associated with the givne name for the current page, for example: /jsp/Report_Content.jsp |
helpfile | none | The contents of the helpfile associated with the given name. |
custom-style | resourcesFolderCustom | If name is provided, then a link to the file in the style's custom folder, for example: <link href="../plugins/Customizations/style/cssFile.css" rel="stylesheet" type="text/css" /> If name is not provided, then links to the global.css or the page's css if they exists in a style's custom folder, for example: <link href="../plugins/Customizations/style/global.css" rel="stylesheet" type="text/css" /> <link href="../plugins/Customizations/style/welcomePage.css" rel="stylesheet" type="text/css" /> |
custom-javascript | resourcesFolderCustom | If name is provided, then a link to the file in the javascript's custom folder, for example: <script src="../plugins/Customizations/javascript/custom.js" language="javascript" </script> If name is not provided, then links to the global.css or the page's css if they exists in a style's custom folder, for example: <script src="../plugins/Customizations/javascript/global.js" language="javascript" </script> <script src="../plugins/Customizations/javascript/welcomePage.js" language="javascript" </script> |
Name | Required? | Description |
runat | true | Indicates that the ASP.Net control should be processed on the server |
type | true | Indicates the type of resource folder information it will search for in order to complete the
path information for the file specified. Usage: The possible values for this attribute include: PageComponent
template.
|